<%@ page contentType="text/html; charset=UTF-8" %>
<html>
<head>
	<title>企业信息</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Expires" content="0">
	<link href="${pageContext.request.contextPath}/css/css.css" rel=stylesheet>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/button_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/form_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/table_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/pagetitle_css.css" type="text/css">
	<script language="javascript" src="${pageContext.request.contextPath}/script/validator.js"></script>
	<script language="javascript" src="${pageContext.request.contextPath}/script/calendartime.js"></script>
	<script type="text/javascript">
		function doSave(){
			//var companyId=document.forms["companyForm"].companyId.value;
			//if(!fieldIsNotEmpty(document.forms["companyForm"].fullName)){
			//	return;
			//}
			//if(!fieldValidateByRegexp(document.forms["companyForm"].email,REGEXP_EMAIL)){
			//	return;
			//}
			//if(!fieldValidateByRegexp(document.forms["companyForm"].phone,REGEXP_INTEGER)){
			//	return;
			//}
			//if(!fieldValidateByRegexp(document.forms["companyForm"].mobile,REGEXP_INTEGER)){
			//	return;
			//}
			//if(!fieldValidateByRegexp(document.forms["companyForm"].fax,REGEXP_INTEGER)){
			//	return;
			//}
			document.forms["companyForm"].action="${pageContext.request.contextPath}/system/companyManager.do?method=modifyCompany";
			document.forms["companyForm"].submit();
		}
	</script>
</head>
<body>
<form name="companyForm" method="POST" >
<input type="hidden" name="companyId" value="${company.companyId}"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
	<tr> 
	  <td width="22" class="page_titlebar_head">&nbsp;</td>
	  <td class="page_titlebar_bg" width="981">企业信息</td>
	</tr>
</table>
<center>
<table width="80%" class="InputFrameMain" cellspacing="0" cellpadding="0" border="0" height="100">
  <tr class="InputFrameLine">
  		<td colspan="4" class="table_unfold_titlebar_small_bg">&nbsp;&nbsp;<b>企业基本信息编辑</b></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" width="20%" id="ccustomerFullName_TEXT">企业全称(中文)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="cfullName" value="${company.cfullName}" style="width:150px" length="20" maxlength="100"/></td>
		<td class="table_label" width="20%" id="ccustomerName_TEXT">企业简称(中文)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="cshortName" value="${company.cshortName}" style="width:150px" length="20" maxlength="100"/></td>
  </tr>
   <tr class="InputFrameLine">
        <td class="table_label" width="20%" id="ecustomerFullName_TEXT">企业全称(英文)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="efullName" value="${company.efullName}" style="width:150px" length="20" maxlength="100"/></td>
		<td class="table_label" width="20%" id="ecustomerName_TEXT">企业简称(英文)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="eshortName" value="${company.eshortName}" style="width:150px" length="20" maxlength="100"/></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" width="20%" id="phone_TEXT">电话</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="phone" value="${company.phone}" style="width:150px" length="20" maxlength="20"/></td>
		<td class="table_label" width="20%" id="fax_TEXT">传真</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="fax" value="${company.fax}" style="width:150px" length="20" maxlength="20"/></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" width="20%" id="email_TEXT">Email</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="email" value="${company.email}" style="width:150px" length="30" maxlength="50"/></td>
		<td class="table_label" width="20%" id="url_TEXT">网址</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="url" value="${company.url}" style="width:150px" length="20" maxlength="100"/></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" width="20%" id="clinkman_TEXT">联系人(中文名)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="clinkman" value="${company.clinkman}" style="width:150px" length="20" maxlength="100"/></td>
		<td class="table_label" width="20%" id="elinkman_TEXT">联系人(英文名)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="elinkman" value="${company.elinkman}" style="width:150px" length="20" maxlength="100"/></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" width="20%" id="mobile_TEXT">联系人手机</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="mobile" value="${company.mobile}" style="width:150px" length="20" maxlength="20"/></td>
  </tr>
  <tr class="InputFrameLine">
		<td class="table_label" width="20%" id="caddress_TEXT">地址(中文)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="caddress" value="${company.caddress}" style="width:300px" length="80" maxlength="200"/></td>
		<td class="table_label" width="20%" id="url_TEXT"></td>
		<td width="30%">&nbsp;</td>
  </tr>
  <tr class="InputFrameLine">
		<td class="table_label" width="20%" id="eaddress_TEXT">地址(英文)</td>
		<td width="30%">&nbsp;<input class="input" type="text" name="eaddress" value="${company.eaddress}" style="width:300px" length="80" maxlength="200"/></td>
		<td class="table_label" width="20%" id="url_TEXT"></td>
		<td width="30%">&nbsp;</td>
  </tr>
   
  <tr class="InputFrameLine">
  	<td width="100%" colspan="4" align="center"><input type="button" class="button_common" name="save_button" value="保存" onclick="javascript:doSave()">
  	</td>
  </tr>
</table>
</center>
</form>
${message}
</body>
</html>
<jsp:include page="../footer.jsp"/>
